package com.sweet.fourtimeoa.service;

import com.sweet.fourtimeoa.pojo.dto.PageDto;
import com.sweet.fourtimeoa.pojo.dto.RoomReserveDto;
import com.sweet.fourtimeoa.pojo.dto.RoomsQueryDto;
import com.sweet.fourtimeoa.pojo.entity.MeetingRooms;
import com.sweet.fourtimeoa.pojo.vo.PageVo;
import com.sweet.fourtimeoa.pojo.vo.RoomVo;

import java.util.Date;
import java.util.List;

public interface RoomService {
    PageVo<MeetingRooms> getRoomByTime( Integer pageNum, Integer pageSize,Date startTime, Date endTime);


    void reserve(RoomReserveDto roomReserveDto);

    PageVo<RoomVo> getRoomByUserId(PageDto<Integer> pageDto);

    void deleteRooms(List<Integer> updateIds);

    PageVo<RoomVo> getAllReserveRoom(PageDto<RoomsQueryDto> pageDto);

    PageVo<MeetingRooms> getAllRoom(PageDto pageDto);

    void deleteRoomById(Integer roomId);

    MeetingRooms getRoomById(Integer roomId);

    void updateRoom(MeetingRooms meetingRooms);

    void addRoom(MeetingRooms meetingRooms);
}
